package com.javatip.project.deep_learning.app01Outcome.service;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.javatip.project.deep_learning.app01Outcome.mapper.App01OutcomeMapper;
import com.javatip.project.deep_learning.app01Outcome.domain.App01Outcome;
import com.javatip.project.deep_learning.app01Outcome.service.IApp01OutcomeService;
import com.javatip.common.utils.text.Convert;

/**
 * 识别结果对比 服务层实现
 * 
 * @author 袁伟
 * @date 2024-05-21
 */
@Service
public class App01OutcomeServiceImpl implements IApp01OutcomeService 
{
	@Autowired
	private App01OutcomeMapper app01OutcomeMapper;

	/**
     * 查询识别结果对比信息
     * 
     * @param id 识别结果对比ID
     * @return 识别结果对比信息
     */
    @Override
	public App01Outcome selectApp01OutcomeById(Integer id)
	{
	    return app01OutcomeMapper.selectApp01OutcomeById(id);
	}
	
	/**
     * 查询识别结果对比列表
     * 
     * @param app01Outcome 识别结果对比信息
     * @return 识别结果对比集合
     */
	@Override
	public List<App01Outcome> selectApp01OutcomeList(App01Outcome app01Outcome)
	{
	    return app01OutcomeMapper.selectApp01OutcomeList(app01Outcome);
	}
	
    /**
     * 新增识别结果对比
     * 
     * @param app01Outcome 识别结果对比信息
     * @return 结果
     */
	@Override
	public int insertApp01Outcome(App01Outcome app01Outcome)
	{
	    return app01OutcomeMapper.insertApp01Outcome(app01Outcome);
	}
	
	/**
     * 修改识别结果对比
     * 
     * @param app01Outcome 识别结果对比信息
     * @return 结果
     */
	@Override
	public int updateApp01Outcome(App01Outcome app01Outcome)
	{
	    return app01OutcomeMapper.updateApp01Outcome(app01Outcome);
	}

	/**
     * 删除识别结果对比对象
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
	@Override
	public int deleteApp01OutcomeByIds(String ids)
	{
		return app01OutcomeMapper.deleteApp01OutcomeByIds(Convert.toStrArray(ids));
	}
	
}
